package wyu.mybatis.simple.mapper;

import org.apache.ibatis.annotations.SelectProvider;
import wyu.mybatis.simple.model.SysPrivilege;
import wyu.mybatis.simple.provider.PrivilegeProvider;

/**
 * Created by ajinlong on 2021/7/4.
 */
public interface PrivilegeMapper {
   // @SelectProvider(type = PrivilegeProvider.class, method = "selectById")
    //SysPrivilege selectById(Long id);

   @SelectProvider(type = PrivilegeProvider.class, method = "selectById")
    SysPrivilege selectById(Long id);
}
